package com.you.atlas.web.place.module.action;

import java.util.Map;

import org.apache.commons.collections.map.HashedMap;

import com.alibaba.citrus.turbine.Context;
import com.alibaba.citrus.turbine.Navigator;
import com.alibaba.citrus.turbine.TurbineRunData;

public class Login {

    public void execute(TurbineRunData rundata, Navigator nav, Context context) {
        Object o = rundata.getRequest().getSession().getAttribute("tmp");
        if(o==null){
            Map property= new HashedMap();
            property.put("login_id", "jiangyunpeng");
            rundata.getRequest().getSession().setAttribute("tmp", property);
        }
        context.put("haha", o);
    }
}
